//
//  YLReservationRecordModel.h
//  YLFinanceService
//
//  Created by she1323 on 2018/1/17.
//  Copyright © 2018年 she1323. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <YYModel.h>
@interface YLReservationRecordModel : NSObject<YYModel>

/**
 产品名称
 */
@property (nonatomic, strong) NSString *productKeyName;

/**
 预约状态 已预约 = 0,         已处理 = 1,      已签单 = 2,     已取消 = -1,      已失效 = -2,
 */
@property (nonatomic, assign) NSInteger reservationResultStatus;

/**
 预约额度
 */
@property (nonatomic, assign) CGFloat reservationAmount;

/**
 预约时间
 */
@property (nonatomic, strong) NSString *reservationDateText;

/**
 预约热线
 */
@property (nonatomic, strong) NSString *userTel;

@property (nonatomic, strong) NSString *productId;

@end

@interface YLReservationRecordItem : NSObject
@property (nonatomic, strong) NSString *productId;
/**
 显示文字
 */
@property (nonatomic, strong) NSString *showTitle;

/**
 头像
 */
@property (nonatomic, strong) NSString *iconName;

@property (nonatomic, assign) BOOL showCancel;
@end

@interface YLReservationRecordHeaderItem : NSObject

/**
 产品名称
 */
@property (nonatomic, strong) NSString *name;

/**
 预约状态
 */
@property (nonatomic, strong) NSString *status;

@end

@interface YLReservationRecordGroup : NSObject<YYModel>

@property (nonatomic, assign) NSInteger count;

@property (nonatomic, strong) NSMutableArray *item;

@end
